<CENTER>
<TABLE border='0' class='bTable' cellspacing='0'>
		<?
			$p = $params;
			$params[sid]  = $sid;
			$params[action] = "search_reseller";

			$url="$baseURL/$webDIR/?".encode_params($params);
		?>
		<FORM action='<?=$url;?>' method='POST'>			
			<TR><TH>Reseller: </TH><TD><input type='text' name='reseller'></TD></TR>
			<TR><TH>ID: </TH><TD><input type='text' name='rid'></TD></TR>
			<TR><TH>Email: </TH><TD><input type='text' name='email'></TD></TR>
			<TR><TH>Domain: </TH><TD><input type='text' name='domain'></TD></TR>
			<TR><TH>First name: </TH><TD><input type='text' name='firstname'></TD></TR>
			<TR><TH>Last name: </TH><TD><input type='text' name='lastname'></TD></TR>
			<TR><TH>Country: </TH><TD><input type='text' name='country'></TD></TR>
			<TR><TH>State: </TH><TD><input type='text' name='state'></TD></TR>
			<TR><TH>IP: </TH><TD><input type='text' name='ip'></TD></TR>
			<TR><TH>Client: </TH><TD><input type='text' name='client'></TD></TR>
			<TR><TD colspan='2' align='right'><input type='submit' value='Search'></TD></TR>
		</FORM>
</TABLE>
<br>
<?
$list = search_resellers($p[reseller],$p[id],$p[email],$p[firstname],$p[lastname],$p[country],$p[state],$p[ip],$p[client],$p[domain]);
if($list){
?>
<TABLE border=0 class='bTable' cellspacing='0'>
<tr><TH>ID: </TH><TH>Reseller: </TH><TH>First name: </TH><TH>Last name: </TH><th>E-mail:</th><TH>Country: </TH><TH>State: </TH><TH>IP: </TH><TH>Date</th><th>~</th><th>~</th><th>~</th><th>~</th></tr>
<?echo $list?>
</TABLE>
</CENTER>
<?}?>
